package com.zzg.service.Impl;

import com.zzg.entity.TmsUser;
import com.zzg.mapper.UserZzgMapper;
import com.zzg.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserZzgMapper userMapper;

    @Override
    public TmsUser login(String account, String pass) {
        return userMapper.loginZzg(account,pass);
    }
}
